﻿

input[type="text"], input[type="number"], input[type="date"], input[type="search"], input[type="password"] {
    border: 1px solid #D4D9DD;
    border-radius: 3px;
    color: #626978;
    height: 30px;
    margin-bottom: 10px;
    padding: 4px 4px 4px 4px;
}

textarea {
    border: 1px solid #D4D9DD;
    border-radius: 3px;
    color: #626978;
    margin-bottom: 10px;
    padding: 4px 4px 4px 4px;
}

    input[type="text"]:hover, input[type="number"]:hover, input[type="date"]:hover, input[type="search"]:hover, input[type="password"]:hover, textarea:hover, input[type="radio"]:hover, input[type="checkbox"]:hover {
        box-shadow: 0px 3px 3px 0px rgba(139, 139, 139, 0.5) !important;
        border: 1px solid darkgray;
    }

    input[type="text"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="search"]:focus, input[type="password"]:focus, textarea:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {
        box-shadow: 0px 3px 3px 0px rgba(139, 139, 139, 0.5) !important;
        border: 1px solid #72C5C1;
    }


input[type="radio"], input[type="checkbox"] {
    margin-top: 5px;
    margin-bottom: 5px;
}

/*we can not change the arrow of select element, so first disable it and create a wrapper element on which I added the following :before :after code.*/
.custom-dropdown {
    /*border: 1px solid #D4D9DD;
    border-radius: 3px;
    color: #626978;
    height: 30px;*/
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

    .custom-dropdown > select {
        border: 1px solid #D4D9DD;
        border-radius: 3px;
        color: #626978;
        padding: 4px 4px 4px 4px;
        line-height: 1em;
        height: 30px;
        width: 100%;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }
    .custom-dropdown::before {
        width: 2em;
        top: 0px;
        bottom: 0px;
        right: 0px;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        content: "";
        position: absolute;
        pointer-events: none;
        /*background-color: #D4D9DD;*/
    }

    .custom-dropdown::after {
        cursor: pointer;
        position: absolute;
        pointer-events: none;
        color: rgba(0,0,0,.6) !important;
        /*background-color: #D4D9DD;*/
        right: 0.6em;
        top: 66%;
        margin-top: -.5em;
        font-size: 1.25em;
        /*for line dropdown arrow*/
        content: "\02C5";
        line-height: 1;
        font-family: monospace !important;
        border-bottom: 0;
        /*for solid dropdown arrow*/
        /*height: 1rem;*/
        /*width: 0.3em;*/
        /* border-top: 0.3em solid; */
        /* border-right: 0.3em solid transparent; */
        /* border-left: 0.3em solid transparent; */
    }



select:disabled {
    background-color: #EBEBE4;
    pointer-events: none;
}

select:hover {
    box-shadow: 0px 3px 3px 0px rgba(139, 139, 139, 0.5) !important;
    border: 1px solid darkgray;
}

select:focus {
    box-shadow: 0px 3px 3px 0px rgba(139, 139, 139, 0.5) !important;
    border: 1px solid #72C5C1;
}

button:disabled {
    cursor: no-drop;
}
button:hover {
    box-shadow: 0px 10px 10px 0px rgba(139, 139, 139, 0.5) !important;
}
button:focus {
    box-shadow: 0px 10px 10px 0px rgba(139, 139, 139, 0.5) !important;
}


.btn {
    /*
    height: 32px;
    background-color: #d4d9dc;*/
    display: inline-block;
    border-radius: 50rem !important;
    box-shadow: none;
    margin-top: 5px;
    margin-bottom: 5px;
}

.btn-Green {
    background-color: #3E6925;
}

.btn-Blue {
    background-color: #4d82c6;
}

.btn-Red {
    background-color: #bd4848;
}

.btn-DarkGray {
    background-color: #3C4451;
}

.btn-LightGray {
    background-color: #D4D9DD;
}

.btn-Add {
    background-color: #D4D9DD;
    width: 24px;
    height: 24px;
    padding: 0px 2px;
    font-size: 17px;
    border: 0px;
}

.btn-Refresh {
    background-color: #3C435A;
    width: 24px;
    height: 24px;
    padding: 2px 2px 0px 2px;
    margin: 0px 16px;
}

.btn-login {
    background-color: #bd4848;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    height: 40px;
    padding: 8px 70px;
    border: 0;
    outline: none;
}

.custom-plus-sign {
    font-size: 16px;
    background-color: #d4d1d1;
    display: inline-block;
    top: 50%;
    width: 26px;
    height: 26px;
    color: #232525;
    cursor: pointer;
    text-align: center;
    margin: 0px 15px;
}





.error {
    color: red;
}

.overflow {
    overflow-x: scroll;
    overflow-y: scroll;
}

.overflow-x {
    overflow-x: scroll;
    border-bottom: 0px !important;
}

.overflow-y {
    overflow-y: scroll;
    border-right: 0px !important;
}


::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    /*background: #e2e5e8;*/
    border-radius: 5px;
    border: 1px solid #e2e5e8;
    margin-top: 4px;
    margin-bottom: 4px;
}

::-webkit-scrollbar-thumb {
    background: #e2e5e8;
    border-radius: 5px;
}


.datagrid {
    /*padding:10px 10px;*/
}

    .datagrid table thead th {
        text-transform: uppercase;
    }

    .datagrid table th, .table td {
        border-bottom: 1px solid #DEE2E6;
    }

table thead {
    cursor: pointer;
    background: #e7e7e7;
    text-align: center;
}
.table td, .table th {
    vertical-align: middle !important;
    border: 1px solid #f1f2f9;
}


.nav-link.active {
    color: #02ad88 !important;
}

.form-main-heading {
    background-color: #000000 !important;
    padding: 0rem 10rem 0rem 10rem;
    color: #fff;
    font-size: 2.5rem;
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    line-height: 1.6;
}


/*for date picker*/
.datepicker .table-condensed  thead th {
    background: #fff;
}
.datepicker .table-condensed  thead .dow {
    cursor: auto;
    background: #fff;
}


#divLoading {
    margin: 0px;
    padding: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    text-align: center;
    z-index: 99999;
    filter: alpha(opacity=70);
    display: none;
}

    #divLoading > #loading-content {
        position: absolute;
        top: 40%;
        left: 45%;
        background-color: #fff;
    }


.popup-dialog {
    padding: 3rem;
    border: 2px solid #02ad88;
    border-radius: 1rem;
}

.after-login{
    display:none;
}





@media (max-width: 520px) {
    #lnkLoginAs {
        min-width: 15rem !important;
    }
    #imgbtnHeaderLogo {
        width: 20rem !important;
    }
}
@media (max-width: 460px) {
    #lnkLoginAs {
        min-width: 11rem !important;
    }
    #imgbtnHeaderLogo {
        width: 15rem !important;
    }
}
@media (max-width: 320px) {
    #lnkLoginAs {
        min-width: 0rem !important;
    }
    #imgbtnHeaderLogo {
        width: 10rem !important;
    }
}
